package com.nxbw.quality.application.pojo.dto;

import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class ApplicationQuery {
    Integer id;
    String projectName;
    String area;
    String content;
    String status;
    Long applicant;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    Date applicationTime;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    Date planTime;
    Long acceptancePerson;
    String appPhotos;
    Long checkId;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    Date startTime;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    Date endTime;
    Integer pageSize;
    Integer pageNum;
}
